CommonsBooking\Helper\Wordpress S

Total Complexity 28
Dependencies 12
Dependents 8
Total lines 249
Lines of code 136
Logical lines of code 78
Comment lines 84
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
getRelatedPostIds()
S
52 6 25
getRelatedPostsIdsForBooking()
S
60 4 14
getRelatedPostsIdsForRestriction()
S
58 3 15
getTags()
S
60 3 14
getRelatedPostsIdsForTimeframe()
S
63 3 11
getPageListTitle()
S
64 3 10
getLocationAndItemIdsFromPosts()
S
60 1 16
flattenWpdbResult()
S
73 1 5
isValidDateString()
S
78 1 3
getPostIdArray()
S
73 1 5
getRelatedPostsIdsForLocation()
S
65 1 9
getRelatedPostsIdsForItem()
S
65 1 9